package com.fcat.common.fdfs.service.impl;

import com.fcat.common.fdfs.entity.Folder;
import com.fcat.common.fdfs.mapper.FolderMapper;
import com.fcat.common.fdfs.service.FolderService;
import com.fcat.common.fdfs.vo.FolderVO;
import com.fcat.springboot.mybatis.service.impl.TsuantoneBaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FolderServiceImpl extends TsuantoneBaseServiceImpl<FolderMapper, Folder> implements FolderService {

    @Override
    public List<Folder> getListByLike(Map<String, Object> map) {
        return mapper.getListByLike(map);
    }

    @Override
    public List<FolderVO> getTree(Map<String, Object> map) {
        return mapper.getTree(map);
    }
}